import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useUsernameStore = defineStore('username', () => {
  const username = ref('Anonymous')
  function clearUsername() {
    username.value = ''
  }
  return { username, clearUsername }
})
